import request from '../utils/request'

// 品牌列表
export function getBrandList(data) {
  return request({
    method: 'post',
    url: '/api/brand/GetAll',
    data,
  })
}

//添加品牌
export function addBrand(data) {
  return request({
    method: 'post',
    url: '/api/brand/Add',
    data,
  })
}

//编辑品牌
export function editBrand(data) {
  return request({
    method: 'post',
    url: '/api/brand/Update',
    data,
  })
}

//删除品牌
export function delBrand(params) {
  return request({
    method: 'get',
    url: '/api/brand/Delete',
    params,
  })
}
